package com.a1808.dubbo.entity;

import java.io.Serializable;

/**
 *  商品
 * @author 45466
 *
 */
public class Goods implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5876825111070280458L;
	
	//
	int id;
	//
	String name;
	// 价格
	float price;
	//描述
	String desc;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", name=" + name + ", price=" + price + ", desc=" + desc + "]";
	}
	
	
	
	

}
